Skip to content

Conversation

StanislavSmetaninSSM
Copy link
Collaborator

Added possibility to export single file by using 'dw files {file path} {outPath} -e'.
Added two optional options:
--asDirectory - Forces the command to treat the path as a directory, even if its name contains a dot.
--asFile - Forces the command to treat the path as a single file, even if it has no extension.

They are needed in cases if automatic detection ('do we want to export the file or directory?') is incorrect, usually because of strange file/directory names.

The original task: https://dev.azure.com/dynamicwebsoftware/Dynamicweb/_workitems/edit/24794

…} {outPath} -e'.

Added two optional options:
--asDirectory - Forces the command to treat the path as a directory, even if its name contains a dot.
--asFile - Forces the command to treat the path as a single file, even if it has no extension.
They are needed in cases if automatic detection ('do we want to export the file or directory?') is incorrect, usually because of strange file/directory names.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant